/**
* Copyright (c) By zengqh.
*
* This program is just for fun or demo, in the hope that it  
* will be useful, you can redistribute it and/or modify freely.
*
* Time: 2013/03/07
* File: Shader.h
**/

#pragma once

#include "RenderObject.h"

namespace HY
{
class RenderSystem;
class Shader : public RenderObject
{
public:
	virtual ~Shader() {}
	virtual const std::string& getSourceCode() const = 0;
	virtual void setSourceCode(const std::string& code) = 0;

protected:
	Shader(uint32 type) : RenderObject(type)
	{

	}
};
}